#pragma once

const int SCREEN_WIDTH = 800;
const int SCREEN_HEIGHT = 600;
const float SCREEN_ASPECT = (float)SCREEN_WIDTH/(float)SCREEN_HEIGHT;
const int SCREEN_BPP = 32;
const float FPS = 59.00f;
const long TIME_PER_FRAME_MS = (long)(1000.0f / FPS);
const float TIME_PER_FRAME = 1.0f / FPS;
const int FONTPTS_TINY	= 10;
const int FONTPTS_SMALL	= 12;
const int FONTPTS_MEDIUM = 16;

#define STD_PATHLENGTH			256
#define SCREENNAME_UNDEFINED	"UNKNOWN_SCREEN"
#define PATH_FONTDIR			"Fonts\\"
#define PATH_IMGDIR				"ImgData\\"
#define PATH_SHADER				"Shader\\"
#define FILE_FONTDEFAULT		"vgaoem.fon"
#define FILE_CONFIGFILE			"config.xml"
#define FILE_DEFAULT_TERRAIN	"terrain.png"
#define PATH_MODS				"Mods\\"
#ifdef WIN32
#define MOD_EXTENSION			".dll"
#else
#define MOD_EXTENSION			".so"
#endif

//Memory defines
#define PI 3.14159265358979f
#define piOver2 (PI/2.0f)
#define pi2	(PI*2.0f)
//Degrees to rad constant
const float DEG_TO_RAD = pi2/360.0f;
const float RAD_TO_DEG = 360.0f/pi2;
#ifndef NULL
	#define NULL 0
#endif